package com.example.dormitorysystem.service;

import com.example.dormitorysystem.entity.Groups;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吉吉王国组
 * @since 2022-11-26
 */
public interface GroupsService extends IService<Groups> {


    Map<String, Object> setGroup(Map<String, Object> input, HttpServletRequest request, HttpServletResponse response);


    void delGroup(HttpServletRequest request, HttpServletResponse response);

    Map<String, Object> joinGroup(Map<String, Object> input, HttpServletRequest request, HttpServletResponse response);


    void quitGroup(HttpServletRequest request, HttpServletResponse response);

    Map<String, Object> myGroup(HttpServletRequest request, HttpServletResponse response);

    void transGroup(Map<String, Object> input, HttpServletRequest request, HttpServletResponse response);
}
